import config from '@/config'
import request from '@/api/index'

const DELETE_URL = config.serverUrls.API_BASE_URL + '/sys/file/del'
const upload = {
  UPLOAD_URL: config.serverUrls.API_BASE_URL + '/sys/file/upload',
  delFile: (data) => {
    return request.$post(DELETE_URL, data)
  }
}

export default upload
